#pragma once

#include "extdef.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdint.h>

namespace qb {

    SSPROTOAPI bool encrypt_sha1(const unsigned char * buffer , uint32_t buflen , unsigned char * digest);
    SSPROTOAPI int hex_sprintf(char * strbuf , char val) ;
    SSPROTOAPI bool CheckMd5(const char* buf, int len, const char*Md5);
    SSPROTOAPI bool GetMd5(char* buf,int len,char*outMd5,int capcity);

}

